#ifndef FACIAL_RECOGNITION_CORE_DEVICE_THREAD_MANAGER_H
#define FACIAL_RECOGNITION_CORE_DEVICE_THREAD_MANAGER_H

#include <iostream>
#include <vector>
#include <thread>

namespace ai::facial_recognition {
 

class DeviceThreadManager {
public:
    DeviceThreadManager();
    ~DeviceThreadManager();

    template <class Function, class... Args> 
    void startThread(Function&& f, Args&&... args);

    void waitForAll();

public:
    std::vector<std::thread> threads;
};

}

#endif